package com.jt.controller;

import com.jt.pojo.Student;
import com.jt.service.StudentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Controller;

/**
 * @outhor fufeixiang
 * @date 2021-04-23
 */
@Controller
public class StudentController {
    @Autowired
    @Qualifier("studentServiceImpl")
    private StudentService studentService;
    @Autowired
    private Student student;

    public void studentAdd(){
        studentService.studentAdd(student);
    }

}
